package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.ManagerUsersBeanMapper;
import com.billing.model.entity.ManagerUsersBean;
import com.billing.service.ManagerUsersService;
@Service
public class ManagerUsersServiceImpl implements ManagerUsersService {

	@Resource
	private ManagerUsersBeanMapper managerUsersBeanMapper;
	
	@Override
	public List<ManagerUsersBean> selectManagerUsersBeanList(String loginname,
			int organizationid, int currentPage, int pageSize) {
		return managerUsersBeanMapper.selectManagerUsersBeanList(loginname, organizationid, currentPage, pageSize);
	}

	@Override
	public int selectManagerUsersBeanNum(String loginname, int organizationid) {
		return managerUsersBeanMapper.selectManagerUsersBeanNum(loginname, organizationid);
	}

	@Override
	public int insertManagerUsersBean(ManagerUsersBean managerusers) {
		return managerUsersBeanMapper.insertManagerUsersBean(managerusers);
	}

	@Override
	public ManagerUsersBean getManagerUsersBean(String id) {
		return managerUsersBeanMapper.getManagerUsersBean(id);
	}

	@Override
	public int updateManagerUsersBean(ManagerUsersBean managerusers) {
		return managerUsersBeanMapper.updateManagerUsersBean(managerusers);
	}

	@Override
	public int deleteManagerUsersBean(int id) {
		return managerUsersBeanMapper.deleteManagerUsersBean(id);
	}

}
